DevForce Help Reference
MoveToLastPageAsync(CancellationToken) Method


Moves to the last page.
Syntax
'Declaration
 
Public Overloads Function MoveToLastPageAsync( _
   ByVal cancellationToken As CancellationToken _
) As Task(Of Boolean)
'Usage
 
Dim instance As EntityQueryPager(Of T)
Dim cancellationToken As CancellationToken
Dim value As Task(Of Boolean)
 
value = instance.MoveToLastPageAsync(cancellationToken)
public Task<bool> MoveToLastPageAsync( 
   CancellationToken cancellationToken
)

Parameters

cancellationToken

Return Value

When the asynchronous operation completes the PageChangedOperation will contain paging results.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityQueryPager<T> Class
EntityQueryPager<T> Members
Overload List

Send Feedback